package com.example.mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.entity.dto.TaskInit;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TaskInitMapper extends BaseMapper<TaskInit> {
    List<TaskInit> selectAllByFormKeyAndTaskId(@Param("formKey")String formKey,@Param("taskId")String taskId);

    List<TaskInit> selectAllByFormKeyAndTaskIds(@Param("formKey")String formKey,@Param("taskId")String taskId);

    List<TaskInit> selectAllByFormKeyAndTaskList(@Param("formKey")String formKey,@Param("taskId")String taskId);

    Boolean insertWithCadidateUsers(TaskInit taskInit);

    Boolean insertWithCadidateUsers2(TaskInit taskInit);

    Boolean deleteWithCadidateUsers(TaskInit taskInit);
}